/**
* Copyright 2009, Jethro Grassie, Creative Jar Technology Ltd (http://www.cjtech.co.uk)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
**/

package com.cjt.sample;

import com.adobe.cairngorm.control.FrontController;
import javafx.reflect.*;
import java.lang.Class;

import com.cjt.sample.events.*;

public class Controller extends FrontController
{
    postinit
    {
        addCommand(GetTimeEvent.GET_TIME,
            Class.forName("com.cjt.sample.commands.GetTimeRMICommand"));
        // The same service but using HttpRequest instead of RMI...
        //addCommand(GetTimeEvent.GET_TIME,
        //    Class.forName("com.cjt.sample.commands.GetTimeCommand"));
    }
}
